/*****************************************************************************
*    Ali Corp. All Rights Reserved. 2003 Copyright (C)
*
*    File:    lib_ash.h
*
*    Description:    This file contains all globe micros and functions declare
*		             of ALi shell moduler.
*    History:
*           Date            Athor        Version          Reason
*	    ============	=============	=========	=================
*	1.	Jul.22.2003       Justin Wu       Ver 0.1    Create file.
*	2.
*****************************************************************************/

#ifndef __LIB_ASH_H__
#define __LIB_ASH_H__

#include <bus/sci/sci.h>

#define LIB_ASH_OC(a)		sci_write(SCI_FOR_RS232, a)
#define LIB_ASH_IC()			sci_read(SCI_FOR_RS232)

struct ash_cmd
{
    unsigned char *command;
    int (*handler)(unsigned int argc, unsigned char *argv[]);
};

#ifdef __cplusplus
extern "C"
{
#endif

extern BOOL ash_task_init();
extern void ash_cm_register_sfu_test(struct ash_cmd *);
extern void lib_ash_shell_sfu_test();

#ifdef __cplusplus
}
#endif

#endif /* __LIB_ASH_H__ */
